800
How can I change the color for a particular bar

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1");
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"B2");
		com_Items.ItemBar(h,"B2",33/*exBarColor*/,COMVariant::createFromInt(255));
		com_Items.AddBar(com_Items.AddItem("Item 3"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B3");
}
799
How can I change the color or visual appearance using EBN files for a particular bar

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	str var_s;
	;

	super();

	var_s = "gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyPJ";
	var_s = var_s + "kPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47X";
	var_s = var_s + "jMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHRm";
	var_s = var_s + "i8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDUK";
	var_s = var_s + "JYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4Ki";
	var_s = var_s + "KSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJg";
	var_s = var_s + "Fh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmgi";
	var_s = var_s + "Yg2g2I4JiCQwuAqWIOIkEAQICA==";
	exg2antt1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.Color(0x1000000);
			com_Bar.Height(16);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1");
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"B2");
		com_Items.ItemBar(h,"B2",33/*exBarColor*/,COMVariant::createFromInt(255));
		com_Items.AddBar(com_Items.AddItem("Item 3"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B3");
}
798
How can I resize programmatically a bar
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"B2");
		com_Items.ItemBar(h,"B2",513/*exBarDuration*/,COMVariant::createFromInt(1));
}
797
How can I move programmatically a bar
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"B2");
		com_Items.ItemBar(h,"B2",514/*exBarMove*/,COMVariant::createFromInt(-2));
}
796
How can I select displaying the histogram for an item and all its child items

public void init()
{
	COM com_Bar,com_Chart,com_Column,com_Items;
	anytype var_Bar,var_Chart,var_Column,var_Items;
	int h,h1;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.MarkSearchColumn(false);
	exg2antt1.ShowFocusRect(false);
	exg2antt1.Columns().Add("Tasks");
	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Hist")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.PartialCheck(true);
		com_Column.AllowSizing(false);
		com_Column.Width(18);
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.NonworkingDays(0);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,96);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("6/20/2005",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramView(67348/*0x10714 | exHistogramNoGrouping | exHistogramRecLeafItems | exHistogramLeafItems | exHistogramUnlockedItems | exHistogramCheckedItems*/);
		com_Chart.HistogramHeight(64);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.HistogramCriticalColor(WinApi::RGB2int(255,0,0));
			com_Bar.HistogramPattern(512/*exBezierCurve*/);
			com_Bar.HistogramType(1/*exHistOverAllocation*/);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Project 1");
		com_Items.AddBar(h,"Summary",COMVariant::createFromDate(str2Date("6/21/2005",213)),COMVariant::createFromDate(str2Date("7/1/2005",213)));
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/21/2005",213)),COMVariant::createFromDate(str2Date("6/28/2005",213)));
		com_Items.CellMerge(h1,COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.DefineSummaryBars(h,"",h1,"");
		h1 = com_Items.InsertItem(h,,"Task 2");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/23/2005",213)),COMVariant::createFromDate(str2Date("7/1/2005",213)),"E");
		com_Items.CellMerge(h1,COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.DefineSummaryBars(h,"",h1,"E");
		com_Items.ItemBar(h1,"E",21/*exBarEffort*/,COMVariant::createFromInt(5));
		h1 = com_Items.InsertItem(h,,"Task 3");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/25/2005",213)),COMVariant::createFromDate(str2Date("6/27/2005",213)),"E");
		com_Items.CellMerge(h1,COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.DefineSummaryBars(h,"",h1,"E");
		com_Items.ExpandItem(h,true);
		com_Items.CellState(h,COMVariant::createFromInt(1),1);
		h = com_Items.AddItem("Project 2");
		com_Items.AddBar(h,"Summary",COMVariant::createFromDate(str2Date("6/26/2005",213)),COMVariant::createFromDate(str2Date("7/6/2005",213)));
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/26/2005",213)),COMVariant::createFromDate(str2Date("7/2/2005",213)));
		com_Items.CellMerge(h1,COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.DefineSummaryBars(h,"",h1,"");
		h1 = com_Items.InsertItem(h,,"Task 2");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/28/2005",213)),COMVariant::createFromDate(str2Date("7/6/2005",213)),"E");
		com_Items.CellMerge(h1,COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.DefineSummaryBars(h,"",h1,"E");
		com_Items.ItemBar(h1,"E",21/*exBarEffort*/,COMVariant::createFromInt(5));
		h1 = com_Items.InsertItem(h,,"Task 3");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/30/2005",213)),COMVariant::createFromDate(str2Date("7/2/2005",213)),"E");
		com_Items.CellMerge(h1,COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.DefineSummaryBars(h,"",h1,"E");
		com_Items.ExpandItem(h,true);
		com_Items.CellState(h,COMVariant::createFromInt(1),1);
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,96);
}
*/
795
How can I select or specify the items being included in the histogram, (using a different column )

public void init()
{
	COM com_Bar,com_Chart,com_Column,com_Items;
	anytype var_Bar,var_Chart,var_Column,var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.MarkSearchColumn(false);
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramView(65540/*0x10004 | exHistogramCheckedItems*/);
		com_Chart.HistogramHeight(32);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.HistogramPattern(6/*exPatternBDiagonal*/);
	exg2antt1.Columns().Add("Column");
	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Histogram")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.AllowSizing(false);
		com_Column.Width(18);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)));
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
		com_Items.CellState(h,COMVariant::createFromInt(1),1);
		h = com_Items.AddItem("Item 3");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)));
		com_Items.CellState(h,COMVariant::createFromInt(1),1);
	exg2antt1.EndUpdate();
}
794
How can I select or specify the items being included in the histogram

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramView(4/*exHistogramCheckedItems*/);
		com_Chart.HistogramHeight(32);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.HistogramPattern(6/*exPatternBDiagonal*/);
	COM::createFromVariant(exg2antt1.Columns().Add("Column")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)));
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
		com_Items.CellState(h,COMVariant::createFromInt(0),1);
		h = com_Items.AddItem("Item 3");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)));
		com_Items.CellState(h,COMVariant::createFromInt(0),1);
	exg2antt1.EndUpdate();
}
793
Is there any option to display the histogram for selected items only

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.SingleSel(false);
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramView(2/*exHistogramSelectedItems*/);
		com_Chart.HistogramHeight(32);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.HistogramPattern(6/*exPatternBDiagonal*/);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 3"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)));
		com_Items.SelectAll();
	exg2antt1.EndUpdate();
}
792
Is it possible to add bars to a summary bar so, they get resized or moved as soon as a bar is changed

public void init()
{
	COM com_Chart,com_Items;
	anytype var_Chart,var_Items;
	int h1,h2,hProject,hR1,hR2;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.BackColor(WinApi::RGB2int(255,255,255));
	exg2antt1.ShowFocusRect(false);
	exg2antt1.HasLines(false);
	exg2antt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exg2antt1.HasLines(false);
	exg2antt1.Indent(14);
	exg2antt1.FullRowSelect(false);
	exg2antt1.ScrollBySingleLine(true);
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.BackColor(WinApi::RGB2int(255,255,255));
		com_Chart.SelBackColor(WinApi::RGB2int(245,245,245));
		com_Chart.AllowCreateBar(false);
		com_Chart.AllowLinkBars(false);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2008",213)));
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,98);
	exg2antt1.Columns().Add("");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		hProject = com_Items.AddItem("Project");
		com_Items.ItemHeight(hProject,26);
		com_Items.AddBar(hProject,"Project Summary",COMVariant::createFromDate(str2Date("1/2/2008",213)),COMVariant::createFromDate(str2Date("1/5/2008",213)));
		com_Items.ItemBar(hProject,"",3/*exBarCaption*/,"<br>< <b>Project Summary</b> >");
		hR1 = com_Items.InsertItem(hProject,,"Team 1");
		com_Items.ItemHeight(hR1,30);
		com_Items.AddBar(hR1,"Summary",COMVariant::createFromDate(str2Date("1/2/2008",213)),COMVariant::createFromDate(str2Date("1/8/2008",213)));
		com_Items.ItemBar(hR1,"",3/*exBarCaption*/,"<br> Team <b>1</b> Summary ");
		h1 = com_Items.InsertItem(hR1,,"Member 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2008",213)),COMVariant::createFromDate(str2Date("1/7/2008",213)));
		com_Items.DefineSummaryBars(hR1,"",h1,"");
		h1 = com_Items.InsertItem(hR1,,"Member 2");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/4/2008",213)),COMVariant::createFromDate(str2Date("1/9/2008",213)));
		com_Items.DefineSummaryBars(hR1,"",h1,"");
		h1 = com_Items.InsertItem(hR1,,"Member 3");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/5/2008",213)),COMVariant::createFromDate(str2Date("1/10/2008",213)));
		com_Items.DefineSummaryBars(hR1,"",h1,"");
		com_Items.ExpandItem(hR1,true);
		hR2 = com_Items.InsertItem(hProject,,"Team 2");
		com_Items.ItemHeight(hR2,30);
		com_Items.AddBar(hR2,"Summary",COMVariant::createFromDate(str2Date("1/2/2008",213)),COMVariant::createFromDate(str2Date("1/8/2008",213)));
		com_Items.ItemBar(hR2,"",3/*exBarCaption*/,"<br> Team <b>2</b> Summary ");
		h2 = com_Items.InsertItem(hR2,,"Member 1");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/4/2008",213)),COMVariant::createFromDate(str2Date("1/7/2008",213)));
		com_Items.DefineSummaryBars(hR2,"",h2,"");
		h2 = com_Items.InsertItem(hR2,,"Member 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/8/2008",213)),COMVariant::createFromDate(str2Date("1/11/2008",213)));
		com_Items.DefineSummaryBars(hR2,"",h2,"");
		h2 = com_Items.InsertItem(hR2,,"Member 3");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/5/2008",213)),COMVariant::createFromDate(str2Date("1/12/2008",213)));
		com_Items.DefineSummaryBars(hR2,"",h2,"");
		com_Items.ExpandItem(hR2,true);
		com_Items.ExpandItem(com_Items.FirstVisibleItem(),true);
		com_Items.DefineSummaryBars(hProject,"",hR1,"");
		com_Items.DefineSummaryBars(hProject,"",hR2,"");
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,98);
}
*/
791
Is it possible to define level in terms of just increasing numbers (not a Date)

public void init()
{
	COM com_Chart,com_Level;
	anytype var_Chart,var_Level;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,32);
		com_Chart.UnitWidth(32);
		com_Chart.FirstVisibleDate(COMVariant::createFromInt(1000));
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label("<%i%>");
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,32);
}
*/
790
How can I hide the non-working units ( days or hours )

public void init()
{
	COM com_Chart,com_Level,com_Level1;
	anytype var_Chart,var_Level,var_Level1;
	;

	super();

	exg2antt1.BeginUpdate();
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,0);
		com_Chart.LevelCount(2);
		var_Level = com_Chart.Level(0); com_Level = var_Level;
			com_Level.Label("<%dddd%>");
			com_Level.Alignment(1/*CenterAlignment*/);
		var_Level1 = COM::createFromObject(com_Chart.Level(1)); com_Level1 = var_Level1;
		com_Level1.Label(COMVariant::createFromInt(65536));
		com_Chart.NonworkingHours(16773375);
		com_Chart.ShowNonworkingUnits(false);
		com_Chart.ShowNonworkingDates(false);
		com_Chart.ShowNonworkingHours(false);
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,0);
}
*/
789
Is there a way to have the display show the word "Noon" instead "12:00 PM" in the chart's header/levels

public void init()
{
	COM com_Chart,com_Level,com_Level1,com_Level2;
	anytype var_Chart,var_Level,var_Level1,var_Level2;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.FirstVisibleDate(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Chart.LevelCount(3);
		var_Level = com_Chart.Level(0); com_Level = var_Level;
			com_Level.Label("<b><%mmm%> <%d%>, <%yyyy%></b>");
			com_Level.Alignment(1/*CenterAlignment*/);
			com_Level.Unit(4096/*exDay*/);
		var_Level1 = com_Chart.Level(1); com_Level1 = var_Level1;
			com_Level1.Label("<%h%>:00 <%AM/PM%>");
			com_Level1.Alignment(1/*CenterAlignment*/);
			com_Level1.Unit(65536/*exHour*/);
			com_Level1.DrawTickLines(true);
			com_Level1.DrawGridLines(true);
			com_Level1.ReplaceLabel("12:00 PM","<fgcolor=0000FF><b>Noon</b></fgcolor>");
		var_Level2 = com_Chart.Level(2); com_Level2 = var_Level2;
			com_Level2.Label("");
			com_Level2.Unit(1048576/*exMinute*/);
			com_Level2.Count(15);
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(false,0);
}
*/
788
How can I change the selection background color in the chart area

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().SelBackColor(WinApi::RGB2int(255,0,0));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)));
		com_Items.SelectItem(com_Items.FirstVisibleItem(),true);
}
787
How can I change the selection background color in the chart area

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().SelBackColor(0x1000000);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)));
		com_Items.SelectItem(com_Items.FirstVisibleItem(),true);
}
786
Is there any way to extend the selection on the chart

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().SelBackColor(exg2antt1.SelBackColor());
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)));
		com_Items.SelectItem(com_Items.FirstVisibleItem(),true);
}
785
How can I display the column's header using multiple lines

public void init()
{
	;

	super();

	exg2antt1.HeaderHeight(128);
	exg2antt1.HeaderSingleLine(false);
	COM::createFromVariant(exg2antt1.Columns().Add("This is just a column that should break the header.")).Width(32);
	exg2antt1.Columns().Add("This is just another column that should break the header.");
}
784
Can I move or limit moving or resizing a bar
public void init()
{
	COM com_Bar,com_Chart,com_Items,com_Level;
	anytype var_Bar,var_Chart,var_Items,var_Level;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.ScrollBySingleLine(true);
	exg2antt1.DrawGridLines(-1/*exAllLines*/);
	exg2antt1.DefaultItemHeight(19);
	exg2antt1.GridLineColor(WinApi::RGB2int(220,220,220));
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.ScrollRange(0/*exStartDate*/,COMVariant::createFromDate(str2Date("12/28/2000",213)));
		com_Chart.ScrollRange(1/*exEndDate*/,COMVariant::createFromDate(str2Date("1/12/2001",213)));
		com_Chart.DrawDateTicker(true);
		com_Chart.NonworkingDays(0);
		com_Chart.DrawGridLines(-1/*exAllLines*/);
		com_Chart.ResizeUnitScale(65536/*exHour*/);
		com_Chart.AllowCreateBar(false);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,128);
		com_Chart.LevelCount(2);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.DrawGridLines(false);
		com_Chart.AllowLinkBars(false);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.OverlaidType(515/*exOverlaidBarsStackAutoArrange | exOverlaidBarsStack*/);
	exg2antt1.Columns().Add("Info");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Fixed bar");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"F");
		com_Items.ItemBar(h,"F",10/*exBarCanResize*/,COMVariant::createFromBoolean(false));
		com_Items.ItemBar(h,"F",11/*exBarCanMove*/,COMVariant::createFromBoolean(false));
		com_Items.ItemBar(h,"F",6/*exBarToolTip*/,"This bar is fixed, so the uer can move or resize it");
		h = com_Items.AddItem("Moveable but not-resizable bar");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"F");
		com_Items.ItemBar(h,"F",6/*exBarToolTip*/,"This bar is moveable inside the item, but the user can't resize it.");
		com_Items.ItemBar(h,"F",10/*exBarCanResize*/,COMVariant::createFromBoolean(false));
		h = com_Items.AddItem("Resizable but not moveable bar");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"F");
		com_Items.ItemBar(h,"F",6/*exBarToolTip*/,"This bar is resizable but the user can't move it.");
		com_Items.ItemBar(h,"F",11/*exBarCanMove*/,COMVariant::createFromBoolean(false));
		h = com_Items.AddItem("Range Moveable bar");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"F");
		com_Items.ItemBar(h,"F",6/*exBarToolTip*/,"This bar can be moved inside the displayed range.");
		com_Items.ItemBar(h,"F",22/*exBarMinStart*/,COMVariant::createFromDate(str2Date("1/2/2001",213)));
		com_Items.ItemBar(h,"F",25/*exBarMaxEnd*/,COMVariant::createFromDate(str2Date("1/8/2001",213)));
		com_Items.ItemBar(h,"F",26/*exBarShowRange*/,COMVariant::createFromInt(32));
		com_Items.ItemBar(h,"F",27/*exBarShowRangeTransparent*/,COMVariant::createFromInt(90));
		h = com_Items.AddItem("Range Moveable Upper No Limit bar");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"F");
		com_Items.ItemBar(h,"F",6/*exBarToolTip*/,"This bar can be moved inside the displayed range.");
		com_Items.ItemBar(h,"F",22/*exBarMinStart*/,COMVariant::createFromDate(str2Date("1/2/2001",213)));
		com_Items.ItemBar(h,"F",26/*exBarShowRange*/,COMVariant::createFromInt(32));
		com_Items.ItemBar(h,"F",27/*exBarShowRangeTransparent*/,COMVariant::createFromInt(90));
		h = com_Items.AddItem("Range Moveable Lower No Limit bar");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"F");
		com_Items.ItemBar(h,"F",6/*exBarToolTip*/,"This bar can be moved inside the displayed range.");
		com_Items.ItemBar(h,"F",25/*exBarMaxEnd*/,COMVariant::createFromDate(str2Date("1/8/2001",213)));
		com_Items.ItemBar(h,"F",26/*exBarShowRange*/,COMVariant::createFromInt(32));
		com_Items.ItemBar(h,"F",27/*exBarShowRangeTransparent*/,COMVariant::createFromInt(90));
		h = com_Items.AddItem("Moveable bar inside the item");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"F");
		com_Items.ItemBar(h,"F",6/*exBarToolTip*/,"This bar can be moved/resized anywhere inside the item.");
		h = com_Items.AddItem("Moveable bar to other items too");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"FA");
		com_Items.ItemBar(h,"FA",6/*exBarToolTip*/,"This bar can be moved to other items too. Click the bar and move it to other items too.");
		com_Items.ItemBar(h,"FA",3/*exBarCaption*/,"free");
		com_Items.ItemBar(h,"FA",4/*exBarHAlignCaption*/,COMVariant::createFromInt(18));
		com_Items.ItemBar(h,"FA",28/*exBarCanMoveToAnother*/,COMVariant::createFromBoolean(true));
		h = com_Items.AddItem("Moveable inside item");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"F1");
		h = com_Items.AddItem("Moveable inside item");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"F1");
		h = com_Items.AddItem("Moveable inside item");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"F1");
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,128);
}
*/
783
Can I move a bar from an item to another by drag and drop
public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	int h;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().AllowLinkBars(false);
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar;
	com_Bar.OverlaidType(257/*exOverlaidBarsTransparent | exOverlaidBarsOffset*/);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"A");
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"B");
		com_Items.ItemBar(h,"B",28/*exBarCanMoveToAnother*/,COMVariant::createFromBoolean(true));
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
}
782
Can I move a bar from an item to another
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"A");
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B");
		com_Items.ItemBar(h,"B",512/*exBarParent*/,com_Items.FirstVisibleItem());
}
781
How can change the width, transparency, style, visual appearance ( EBN), of the vertical bar that shows the current date-time

public void init()
{
	COM com_Chart,com_Items,com_Level;
	anytype var_Chart,var_Items,var_Level;
	;

	super();

	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(1048576));
		var_Level = com_Chart.Level(1); com_Level = var_Level;
			com_Level.Label("<%ss%>");
			com_Level.Count(15);
		com_Chart.MarkNowColor(0x1000000);
		com_Chart.MarkNowWidth(6);
		com_Chart.MarkNowTransparent(50);
	exg2antt1.Columns().Add("Tasks");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/1/2008",213)),COMVariant::createFromDate(str2Date("1/1/2018",213)));
}
780
How can change the width, style, visual appearance ( EBN), of the vertical bar that shows the current time

public void init()
{
	COM com_Chart,com_Items,com_Level;
	anytype var_Chart,var_Items,var_Level;
	;

	super();

	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(1048576));
		var_Level = com_Chart.Level(1); com_Level = var_Level;
			com_Level.Label("<%ss%>");
			com_Level.Count(15);
		com_Chart.MarkNowColor(0x1000000);
		com_Chart.MarkNowWidth(6);
	exg2antt1.Columns().Add("Tasks");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/1/2008",213)),COMVariant::createFromDate(str2Date("1/1/2018",213)));
}
779
How can I show a vertical bar that indicates the current time

public void init()
{
	COM com_Chart,com_Items,com_Level;
	anytype var_Chart,var_Items,var_Level;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(1048576));
		var_Level = com_Chart.Level(1); com_Level = var_Level;
			com_Level.Label("<%ss%>");
			com_Level.Count(15);
		com_Chart.MarkNowColor(WinApi::RGB2int(0,0,255));
		com_Chart.MarkNowWidth(7);
	exg2antt1.Columns().Add("Tasks");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/1/2008",213)),COMVariant::createFromDate(str2Date("1/1/2018",213)));
}
778
How can I show semi-transparent the vertical bar that indicates the current time

public void init()
{
	COM com_Chart,com_Items,com_Level;
	anytype var_Chart,var_Items,var_Level;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(1048576));
		var_Level = com_Chart.Level(1); com_Level = var_Level;
			com_Level.Label("<%ss%>");
			com_Level.Count(15);
		com_Chart.MarkNowColor(WinApi::RGB2int(0,0,255));
		com_Chart.MarkNowWidth(7);
		com_Chart.MarkNowTransparent(50);
	exg2antt1.Columns().Add("Tasks");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/1/2008",213)),COMVariant::createFromDate(str2Date("1/1/2018",213)));
}
777
Is there any way to highlight or show a vertical bar that indicates the current time, from 15 to 15 seconds

public void init()
{
	COM com_Level;
	anytype var_Level;
	;

	super();

	exg2antt1.Chart().LevelCount(2);
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level;
	com_Level.Label(COMVariant::createFromInt(1048576));
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level;
		com_Level.Label("<%ss%>");
		com_Level.Count(15);
	exg2antt1.Chart().MarkNowColor(WinApi::RGB2int(0,0,255));
	exg2antt1.Chart().MarkNowCount(15);
	exg2antt1.Chart().MarkNowWidth(3);
}
776
Is there any way to highlight or show a vertical bar that indicates the current time, from minute to minute, hour and so on
public void init()
{
	COM com_Chart,com_Level;
	anytype var_Chart,var_Level;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.UnitWidth(48);
		com_Chart.LevelCount(1);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(1048576));
		com_Chart.MarkNowColor(WinApi::RGB2int(255,0,0));
		com_Chart.MarkNowUnit(1048576/*exMinute*/);
		com_Chart.MarkNowWidth(com_Chart.UnitWidth());
}
775
Is there any way to highlight or show a vertical bar that indicates the current time

public void init()
{
	COM com_Level;
	anytype var_Level;
	;

	super();

	exg2antt1.Chart().LevelCount(2);
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level;
	com_Level.Label(COMVariant::createFromInt(1048576));
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level;
		com_Level.Label("<%ss%>");
		com_Level.Count(15);
	exg2antt1.Chart().MarkNowColor(WinApi::RGB2int(255,0,0));
}
774
Is there a way of making a bar flash on the screen
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Flashy task");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",19/*exBarTransparent*/,COMVariant::createFromInt(80));
}
773
Is there any option to display overlay bars as a stack, or bars that laid over or cover other bars (exOverlaidBarsStackAutoArrange)

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.ScrollBySingleLine(true);
	exg2antt1.Columns().Add("Task");
	exg2antt1.DrawGridLines(1/*exHLines*/);
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.DrawGridLines(1/*exHLines*/);
		com_Chart.AllowCreateBar(1/*exCreateBarAuto*/);
		com_Chart.AllowLinkBars(false);
		com_Chart.ResizeUnitScale(65536/*exHour*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,48);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.OverlaidType(515/*exOverlaidBarsStackAutoArrange | exOverlaidBarsStack*/);
			com_Bar.Overlaid(256/*exOverlaidBarsTransparent*/,COMVariant::createFromInt(80));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"A2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"A3");
		h = com_Items.AddItem("Task 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/12/2001",213)),"A3");
		h = com_Items.AddItem();
		com_Items.SelectableItem(h,false);
		com_Items.AddBar(h,"",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/11/2001",213)),,"<fgcolor=FF0000>Click a bar and move to a new position.");
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(false,48);
}
*/
772
Is there any option to display overlay bars as a stack, or bars that laid over or cover other bars (overlay)

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.ScrollBySingleLine(true);
	exg2antt1.Columns().Add("Task");
	exg2antt1.DrawGridLines(1/*exHLines*/);
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.DrawGridLines(1/*exHLines*/);
		com_Chart.AllowCreateBar(1/*exCreateBarAuto*/);
		com_Chart.AllowLinkBars(false);
		com_Chart.ResizeUnitScale(65536/*exHour*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,48);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.OverlaidType(3/*exOverlaidBarsStack*/);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"A2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"A3");
		h = com_Items.AddItem("Task 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/12/2001",213)),"A3");
		h = com_Items.AddItem();
		com_Items.SelectableItem(h,false);
		com_Items.AddBar(h,"",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/11/2001",213)),,"<fgcolor=FF0000>Click a bar and move to a new position.");
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(false,48);
}
*/
771
Does the overlay also work in milestone bars

public void init()
{
	COM com_Bar,com_Bar1,com_Bars,com_Chart,com_Items;
	anytype var_Bar,var_Bar1,var_Bars,var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.DefaultItemHeight(22);
	exg2antt1.Columns().Add("Task");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.ResizeUnitScale(65536/*exHour*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,48);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bars = com_Chart.Bars(); com_Bars = var_Bars;
			var_Bar = com_Bars.Item("Task"); com_Bar = var_Bar;
				com_Bar.OverlaidType(257/*exOverlaidBarsTransparent | exOverlaidBarsOffset*/);
				com_Bar.OverlaidGroup("Milestone");
			var_Bar1 = com_Bars.Item("Milestone"); com_Bar1 = var_Bar1;
				com_Bar1.OverlaidType(257/*exOverlaidBarsTransparent | exOverlaidBarsOffset*/);
				com_Bar1.OverlaidGroup("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"A1");
		com_Items.AddBar(h,"Milestone",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/8/2001",213)),"M");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/9/2001",213)),COMVariant::createFromDate(str2Date("1/12/2001",213)),"A3");
		h = com_Items.AddItem("Task 2");
		com_Items.AddBar(h,"Milestone",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"M");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/8/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/9/2001",213)),COMVariant::createFromDate(str2Date("1/12/2001",213)),"A3");
		h = com_Items.AddItem();
		com_Items.SelectableItem(h,false);
		com_Items.AddBar(h,"",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/11/2001",213)),,"<fgcolor=FF0000>Click a bar and move to a new position.");
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(false,48);
}
*/
770
Is there any option to display overlaid bars of different types, or bars that laid over or cover other bars (overlay)

public void init()
{
	COM com_Bar,com_Bars,com_Chart,com_Items;
	anytype var_Bar,var_Bars,var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.DefaultItemHeight(22);
	exg2antt1.Columns().Add("Task");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.ResizeUnitScale(65536/*exHour*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,48);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bars = com_Chart.Bars(); com_Bars = var_Bars;
			var_Bar = COM::createFromObject(com_Bars.Copy("Task","RTask")); com_Bar = var_Bar;
			com_Bar.Color(WinApi::RGB2int(255,0,0));
			var_Bar = COM::createFromObject(com_Bars.Copy("Task","GTask")); com_Bar = var_Bar;
			com_Bar.Color(WinApi::RGB2int(0,255,0));
			var_Bar = com_Bars.Item("Task"); com_Bar = var_Bar;
				com_Bar.OverlaidType(257/*exOverlaidBarsTransparent | exOverlaidBarsOffset*/);
				com_Bar.Overlaid(256/*exOverlaidBarsTransparent*/,COMVariant::createFromInt(70));
				com_Bar.OverlaidGroup("RTask,GTask");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"A2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"A3");
		h = com_Items.AddItem("Task 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/8/2001",213)),"A1");
		com_Items.AddBar(h,"GTask",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/12/2001",213)),"A2");
		com_Items.AddBar(h,"RTask",COMVariant::createFromDate(str2Date("1/10/2001",213)),COMVariant::createFromDate(str2Date("1/15/2001",213)),"A3");
		h = com_Items.AddItem();
		com_Items.SelectableItem(h,false);
		com_Items.AddBar(h,"",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/11/2001",213)),,"<fgcolor=FF0000>Click a bar and move to a new position.");
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(false,48);
}
*/
769
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

public void init()
{
	COM com_Bar,com_Bar1,com_Bars,com_Chart,com_Items;
	anytype var_Bar,var_Bar1,var_Bars,var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.DefaultItemHeight(22);
	exg2antt1.Columns().Add("Task");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.ResizeUnitScale(65536/*exHour*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,48);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bars = com_Chart.Bars(); com_Bars = var_Bars;
			var_Bar = com_Bars.Copy("Task","BTask"); com_Bar = var_Bar;
				com_Bar.Color(WinApi::RGB2int(255,0,0));
			var_Bar1 = com_Bars.Item("Task"); com_Bar1 = var_Bar1;
				com_Bar1.OverlaidType(2/*exOverlaidBarsIntersect*/);
				com_Bar1.Overlaid(2/*exOverlaidBarsIntersect*/,"BTask");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"A2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"A3");
		h = com_Items.AddItem("Task 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/12/2001",213)),"A3");
		h = com_Items.AddItem();
		com_Items.SelectableItem(h,false);
		com_Items.AddBar(h,"",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/11/2001",213)),,"<fgcolor=FF0000>Click a bar and move to a new position.");
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(false,48);
}
*/
768
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.DefaultItemHeight(22);
	exg2antt1.Columns().Add("Task");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.ResizeUnitScale(65536/*exHour*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,48);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.OverlaidType(257/*exOverlaidBarsTransparent | exOverlaidBarsOffset*/);
			com_Bar.Overlaid(256/*exOverlaidBarsTransparent*/,COMVariant::createFromInt(70));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"A2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"A3");
		h = com_Items.AddItem("Task 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/12/2001",213)),"A3");
		h = com_Items.AddItem();
		com_Items.SelectableItem(h,false);
		com_Items.AddBar(h,"",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/11/2001",213)),,"<fgcolor=FF0000>Click a bar and move to a new position.");
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(false,48);
}
*/
767
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.DefaultItemHeight(22);
	exg2antt1.Columns().Add("Task");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.ResizeUnitScale(65536/*exHour*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,48);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.OverlaidType(1/*exOverlaidBarsOffset*/);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"A2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"A3");
		h = com_Items.AddItem("Task 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"A1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/12/2001",213)),"A3");
		h = com_Items.AddItem();
		com_Items.SelectableItem(h,false);
		com_Items.AddBar(h,"",COMVariant::createFromDate(str2Date("1/7/2001",213)),COMVariant::createFromDate(str2Date("1/11/2001",213)),,"<fgcolor=FF0000>Click a bar and move to a new position.");
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(false,48);
}
*/
766
How can include the values in the inner cells in the drop down filter window
public void init()
{
	COM com_Column,com_Items;
	COMVariant s;
	anytype var_Column,var_Items;
	;

	super();

	exg2antt1.DrawGridLines(-2/*exRowLines*/);
	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exg2antt1.Description(1/*exFilterBarBlanks*/,"");
	exg2antt1.Description(2/*exFilterBarNonBlanks*/,"");
	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Single Column")); com_Column = var_Column;
		com_Column.HTMLCaption("Single column with <b>inner cells</b>");
		com_Column.ToolTip("Click the drop down filter button, and the filter list includes the inner cells values too.");
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(64/*exIncludeInnerCells*/);
	exg2antt1.ShowFocusRect(false);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		s = com_Items.SplitCell(com_Items.AddItem("S 1.1"),COMVariant::createFromInt(0));
		com_Items.CellValue(,s,"S 1.2");
		com_Items.CellHAlignment(,s,1/*CenterAlignment*/);
		com_Items.CellBackColor(,s,0x1000000);
		com_Items.CellWidth(,s,84);
		s = com_Items.SplitCell(com_Items.AddItem("S 2.1"),COMVariant::createFromInt(0));
		com_Items.CellValue(,s,"S 2.2");
		com_Items.CellHAlignment(,s,1/*CenterAlignment*/);
		com_Items.CellWidth(,s,84);
		s = com_Items.SplitCell(com_Items.AddItem("S 3.1"),COMVariant::createFromInt(0));
		com_Items.CellValue(,s,"S 3.2");
		com_Items.CellHAlignment(,s,1/*CenterAlignment*/);
		com_Items.CellBackColor(,s,0x1000000);
		com_Items.CellWidth(,s,84);
}
765
How can I sort the value gets listed in the drop down filter window
public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	int h;
	;

	super();

	exg2antt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exg2antt1.MarkSearchColumn(false);
	exg2antt1.Description(0/*exFilterBarAll*/,"");
	exg2antt1.Description(1/*exFilterBarBlanks*/,"");
	exg2antt1.Description(2/*exFilterBarNonBlanks*/,"");
	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16/*exSortItemsDesc*/);
	var_Column1 = COM::createFromVariant(exg2antt1.Columns().Add("P2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
		com_Column1.FilterList(32/*exSortItemsAsc*/);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Z3");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"C");
		com_Items.CellValue(com_Items.InsertItem(h,,"Z1"),COMVariant::createFromInt(1),"B");
		com_Items.CellValue(com_Items.InsertItem(h,,"Z2"),COMVariant::createFromInt(1),"A");
		com_Items.ExpandItem(h,true);
}
764
Is there a way to break the hours into 15 minute increments just showing lines instead of the minute numbers

public void init()
{
	COM com_Level,com_Level1;
	anytype var_Level,var_Level1;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("2/5/2008",213)));
	exg2antt1.Chart().LevelCount(3);
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level;
	com_Level.Label("<b><%mmm%> <%dd%></b> <%yyyy%> ");
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level;
		com_Level.Label("<%hh%>");
		com_Level.Alignment(1/*CenterAlignment*/);
	var_Level1 = COM::createFromObject(exg2antt1.Chart()).Level(2); com_Level1 = var_Level1;
		com_Level1.Label("");
		com_Level1.Unit(1048576/*exMinute*/);
		com_Level1.Count(15);
	exg2antt1.Chart().UnitWidth(6);
	exg2antt1.EndUpdate();
}
763
How do I specify a range where the bar can be moved or resized and to highlight the range

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ScrollRange(0/*exStartDate*/,COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ScrollRange(1/*exEndDate*/,COMVariant::createFromDate(str2Date("1/7/2001",213)));
	/*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(0,128);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.ItemBar(h,"",22/*exBarMinStart*/,COMVariant::createFromDate(str2Date("1/2/2001",213)));
		com_Items.ItemBar(h,"",25/*exBarMaxEnd*/,COMVariant::createFromDate(str2Date("1/8/2001",213)));
		com_Items.ItemBar(h,"",26/*exBarShowRange*/,COMVariant::createFromInt(16777216));
		com_Items.ItemBar(h,"",27/*exBarShowRangeTransparent*/,COMVariant::createFromInt(60));
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,128);
}
*/
762
How do I specify a range where the bar can be moved or resized and to highlight the range

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ScrollRange(0/*exStartDate*/,COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ScrollRange(1/*exEndDate*/,COMVariant::createFromDate(str2Date("1/7/2001",213)));
	/*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(0,128);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.ItemBar(h,"",22/*exBarMinStart*/,COMVariant::createFromDate(str2Date("1/2/2001",213)));
		com_Items.ItemBar(h,"",25/*exBarMaxEnd*/,COMVariant::createFromDate(str2Date("1/8/2001",213)));
		com_Items.ItemBar(h,"",26/*exBarShowRange*/,COMVariant::createFromInt(32));
		com_Items.ItemBar(h,"",27/*exBarShowRangeTransparent*/,COMVariant::createFromInt(90));
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,128);
}
*/
761
How do I specify a range where the bar can be moved or resized and to highlight the range

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ScrollRange(0/*exStartDate*/,COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ScrollRange(1/*exEndDate*/,COMVariant::createFromDate(str2Date("1/7/2001",213)));
	/*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(0,128);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.ItemBar(h,"",22/*exBarMinStart*/,COMVariant::createFromDate(str2Date("1/2/2001",213)));
		com_Items.ItemBar(h,"",25/*exBarMaxEnd*/,COMVariant::createFromDate(str2Date("1/8/2001",213)));
		com_Items.ItemBar(h,"",26/*exBarShowRange*/,COMVariant::createFromInt(65286));
		com_Items.ItemBar(h,"",27/*exBarShowRangeTransparent*/,COMVariant::createFromInt(90));
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,128);
}
*/
760
How do I specify a range where the bar can be moved or resized
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ScrollRange(0/*exStartDate*/,COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ScrollRange(1/*exEndDate*/,COMVariant::createFromDate(str2Date("1/7/2001",213)));
	/*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(0,128);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.ItemBar(h,"",22/*exBarMinStart*/,COMVariant::createFromDate(str2Date("1/2/2001",213)));
		com_Items.ItemBar(h,"",25/*exBarMaxEnd*/,COMVariant::createFromDate(str2Date("1/8/2001",213)));
		h = com_Items.AddItem("Item 2");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,128);
}
*/
759
How can I change the visual appearance of the milestone bar using EBN

public void init()
{
	COM com_Appearance,com_Bar,com_Bars,com_Chart,com_Items;
	anytype var_Appearance,var_Bar,var_Bars,var_Chart,var_Items;
	str var_s;
	;

	super();

	var_Appearance = exg2antt1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAEGg4BKMMQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiF4aRTHUKAAKQahLEaSZLhEZRQiqA4sS5FQBSBDQFwSByEY6mSaYJA";
		var_s = var_s + "WK4tCyNM7SfQAbxnAgYaLAAYRUjuHZOTZAc4UfAdFL/K4AKrfeZIeAiCRQGiYZyHKaRShjDwXKLIIjbJhkNoJChCNQgBScPgxCx8JypaCaar2fjQM6zWAMdb2Cz7PjDH";
		var_s = var_s + "7wPA1WYJRaDYjhcB4LheAqGXBWUYLYb8XS3EKJYhiWA4HjqFjGJpcEzPbRiNx3H6SABlLLaLo7JpGO52FrTHZjXyzLqBVpoOyEbrmcozYzjN41RpWETfQYDcwteqcLpr";
		var_s = var_s + "hGVZrm6dp8j4bAnDQP5Uh+OpcH6R4Lg2YJvEIeg6kWEoJB2ZZyG6GoLCSXxtG+IZ1GmfhJjcawNFWfB/h+V5pnUc5VhWeZ4BMX4jlySwtiAJodlEYRaBYFgHHgIA2gGE";
		var_s = var_s + "xkFUdxFl6A5hgUbgXgcVRzFiXA3CICARAEgI";
		com_Appearance.Add(1,COMVariant::createFromStr(var_s));
		com_Appearance.Add(2,"CP:1 -6 0 5 0");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bars = COM::createFromObject(com_Chart.Bars()); com_Bars = var_Bars;
		var_Bar = COM::createFromObject(com_Bars).Add("MilestoneEBN"); com_Bar = var_Bar;
			com_Bar.Color(0x2000000);
			com_Bar.Height(14);
	exg2antt1.Columns().Add("Tasks");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Milestone"),"Milestone",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/2/2001 0:00:01",213)));
		com_Items.AddBar(com_Items.AddItem("Milestone EBN "),"MilestoneEBN",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/2/2001 0:00:01",213)));
}
758
How can I change the visual appearance of the summary bar using EBN

public void init()
{
	COM com_Bar,com_Bars,com_Chart,com_Items;
	anytype var_Bar,var_Bars,var_Chart,var_Items;
	str var_s;
	;

	super();

	var_s = "gBFLBCJwBAEHhEJAEGg4BGICg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGDAADEMgyAJCIxjPIgZBoGqPBpASQJUhkMocR7HMygBI";
	var_s = var_s + "kSRNA8kMwxdQEaw9ECRIDpGaYWTFDhsABTVQRLL0Tw9ISERqoSSaGgkCYaA7CNJ0PBNJSjJ6LJZGURbKqyCQ1DBbUB3BaUaQ9JaKa7pKa7cpWKIqSxEMrxcLFcT5DSbY";
	var_s = var_s + "DxGjLEhmPZBVZQNBxtJbFQHWJCNgzVAdOAAfzQM70GpMQoWJYeVpEObSBD1dABTCBczADYoex7ID+aJuGiYVZdWxJOjfbhkTTIJAaCawABrWxR8iHN5paTnUpzDjwbg0";
	var_s = var_s + "kqRRyr+XwjA8Go/HSBp6g6KJTFcGpWmYdg8H6dJTH0EZelueBfBuLwyBMd50nIfR+kmXB4BECQUAaEYMHQHRHCGFRYI2ZAwEIExghQZA2EIQoGGoEhOgGBBYlAeYYHMW";
	var_s = var_s + "JcDcGx4HYHoHmICIFjeBohkaDAAC2DAjBYJIIiKSI2CSC5hjQJBsCOCwYiIKoGmKWJkn6DANkiWgzCwYwolAcQkksWJaCuDohlicg2hDQR+EELBInKcJohMJBomILoGm";
	var_s = var_s + "ISQuESFBOgkOQDg+SoTEyfoXCUSImDyGZhjkaI1hcJgTnoXgACYCYKG2GQkEkVJchKIoZDIbIciYKY+HEP4mlmThSg+aBIlKBYUCUKgGHyG4jEkPoKiAKI6D6EokGkSg";
	var_s = var_s + "yECF5jEKVJZD+aYqHKG4nGoCh+iKJ4qEqBokh+KYag6JoqmqKo2iWJpqgKRJHDiT5qk6NYtCsapmjiLprHqdo6i8awan6QovCwOp6kSLQsBsHpGjKbBbBaMYhm0CgalI";
	var_s = var_s + "LBtBsUpTiGUIUAQgIA==";
	exg2antt1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bars = COM::createFromObject(com_Chart.Bars()); com_Bars = var_Bars;
		var_Bar = COM::createFromObject(com_Bars).Copy("Task","Summary"); com_Bar = var_Bar;
			com_Bar.Color(0x1000000);
			com_Bar.Height(16);
	exg2antt1.Columns().Add("Tasks");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Summary",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
}
757
How can I change the visual appearance of the task bar using EBN

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	str var_s;
	;

	super();

	var_s = "gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyPJ";
	var_s = var_s + "kPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47X";
	var_s = var_s + "jMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHRm";
	var_s = var_s + "i8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDUK";
	var_s = var_s + "JYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4Ki";
	var_s = var_s + "KSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJg";
	var_s = var_s + "Fh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmgi";
	var_s = var_s + "Yg2g2I4JiCQwuAqWIOIkEAQICA==";
	exg2antt1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.Color(0x1000000);
			com_Bar.Height(16);
	exg2antt1.Columns().Add("Tasks");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
}
756
How can I change the visual appearance of the task bar using EBN

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	str var_s;
	;

	super();

	var_s = "gBFLBCJwBAEHhEJAEGg4BZsIQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiGoZATCMbDBIcSwSGgCJCjeS4ZDKHIXSxFUKTBAcSQTGyBRokaYZRi";
	var_s = var_s + "6A4+TRPETTWAEcABHSbQCoKTKAoCHpLQLMYxDKItJSpGYaRgqWCaZpuUIaUzKVbxbK9CSMGiQbIsOJrBqqQozWZHVITLR9VgBNqga7uGR5DoqdovU5dVTVda9Ly5LSsM";
	var_s = var_s + "QvfALCqOe45URdNp3RiVBYfI6+cZvfJLWh4NqeAbCMC1UJoYhlUKCBg0TRoVo9AIDX5QWaYXC0AkBA==";
	exg2antt1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.Color(0x1000000);
			com_Bar.Height(16);
	exg2antt1.Columns().Add("Tasks");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
}
755
Is there any way to change the units and count of units used in resizing or moving a bar

public void init()
{
	COM com_Chart,com_Items,com_Level;
	anytype var_Chart,var_Items,var_Level;
	int h,h1;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Columns().Add("Task");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.AllowCreateBar(0/*exNoCreateBar*/);
		com_Chart.DrawGridLines(true);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,64);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("6/21/2005",213)));
		com_Chart.ResizeUnitScale(65536/*exHour*/);
		com_Chart.ResizeUnitCount(8);
		com_Chart.UnitWidth(64);
		var_Level = com_Chart.Level(0); com_Level = var_Level;
			com_Level.Label("<b><%mmm%></b> <%dd%>");
			com_Level.DrawGridLines(true);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("6/22/2005",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/23/2005 16:00:00",213)));
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"",COMVariant::createFromDate(str2Date("6/22/2005",213)),COMVariant::createFromDate(str2Date("6/24/2005",213)),,"some <font Comic Sans MS;12><a>text</a></font> here");
		h1 = com_Items.InsertItem(h,,"Task 2");
		com_Items.AddBar(h1,"Task",COMVariant::createFromUtcDateTime(str2Datetime("6/23/2005 8:00:00",213)),COMVariant::createFromDate(str2Date("6/28/2005",213)));
		com_Items.AddLink("Link1",h,"",h1,"");
		com_Items.Link("Link1",6/*exLinkStartPos*/,COMVariant::createFromInt(0));
		com_Items.Link("Link1",12/*exLinkText*/,"<bgcolor=FFFFFF> Link <a>1</a> </bgcolor>");
		com_Items.ExpandItem(h,true);
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,64);
}
*/
754
When trying to resize, move or create a bar, it appears that you can only resize, move or create it in the units that were specified for the level in the timeline. Is there any way to change the units used in resizing or moving a bar
public void init()
{
	COM com_Chart,com_Items,com_Level;
	anytype var_Chart,var_Items,var_Level;
	int h,h1;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Columns().Add("Task");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.AllowCreateBar(0/*exNoCreateBar*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,64);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("6/21/2005",213)));
		com_Chart.ResizeUnitScale(65536/*exHour*/);
		com_Chart.UnitWidth(64);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label("<b><%mmm%></b> <%dd%>");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("6/22/2005",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/23/2005 16:00:00",213)));
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"",COMVariant::createFromDate(str2Date("6/22/2005",213)),COMVariant::createFromDate(str2Date("6/24/2005",213)),,"some <font Comic Sans MS;12><a>text</a></font> here");
		h1 = com_Items.InsertItem(h,,"Task 2");
		com_Items.AddBar(h1,"Task",COMVariant::createFromUtcDateTime(str2Datetime("6/23/2005 8:00:00",213)),COMVariant::createFromDate(str2Date("6/28/2005",213)));
		com_Items.AddLink("Link1",h,"",h1,"");
		com_Items.Link("Link1",6/*exLinkStartPos*/,COMVariant::createFromInt(0));
		com_Items.Link("Link1",12/*exLinkText*/,"<bgcolor=FFFFFF> Link <a>1</a> </bgcolor>");
		com_Items.ExpandItem(h,true);
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,64);
}
*/
753
How can I clip the HTML text or caption inside the bar
public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.Pattern(32/*exPatternBox*/);
		com_Bar.Height(13);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1","This is a bit of text that get's clipped");
		com_Items.ItemBar(h,"K1",4/*exBarHAlignCaption*/,COMVariant::createFromInt(3));
}
752
How to show the overallocation/workload histogram

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h,h1;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Columns().Add("Tasks");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.NonworkingDays(0);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,70);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("6/20/2005",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramHeight(64);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.HistogramCriticalColor(WinApi::RGB2int(255,0,0));
			com_Bar.HistogramPattern(512/*exBezierCurve*/);
			com_Bar.HistogramType(1/*exHistOverAllocation*/);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.AddBar(h,"Summary",COMVariant::createFromDate(str2Date("6/21/2005",213)),COMVariant::createFromDate(str2Date("7/1/2005",213)));
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/21/2005",213)),COMVariant::createFromDate(str2Date("6/28/2005",213)));
		h1 = com_Items.InsertItem(h,,"Task 2");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/23/2005",213)),COMVariant::createFromDate(str2Date("7/1/2005",213)),"E");
		com_Items.ItemBar(h1,"E",21/*exBarEffort*/,COMVariant::createFromInt(5));
		h1 = com_Items.InsertItem(h,,"Task 3");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/25/2005",213)),COMVariant::createFromDate(str2Date("6/27/2005",213)),"E");
		com_Items.ItemBar(h1,"E",21/*exBarEffort*/,COMVariant::createFromInt(2));
		com_Items.ItemBar(h1,"E",3/*exBarCaption*/,"move/resize this");
		com_Items.ItemBar(h1,"E",4/*exBarHAlignCaption*/,COMVariant::createFromInt(18));
		com_Items.ItemBar(h1,"E",6/*exBarToolTip*/,"Click the bar and move or resize it. The histogram-graph will be updated.");
		com_Items.AddLink("Link1",h,"",h1,"E");
		com_Items.Link("Link1",6/*exLinkStartPos*/,COMVariant::createFromInt(0));
		com_Items.ExpandItem(h,true);
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,70);
}
*/
751
How to show the overload histogram

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	int h,h1;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Columns().Add("Tasks");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.NonworkingDays(0);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,70);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("6/20/2005",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramHeight(64);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.HistogramPattern(258/*0x102 | exPatternDot*/);
			com_Bar.HistogramType(0/*exHistOverload*/);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.AddBar(h,"Summary",COMVariant::createFromDate(str2Date("6/21/2005",213)),COMVariant::createFromDate(str2Date("7/1/2005",213)));
		h1 = com_Items.InsertItem(h,,"Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/21/2005",213)),COMVariant::createFromDate(str2Date("6/28/2005",213)));
		h1 = com_Items.InsertItem(h,,"Task 2");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/23/2005",213)),COMVariant::createFromDate(str2Date("7/1/2005",213)),"E");
		com_Items.ItemBar(h1,"E",21/*exBarEffort*/,COMVariant::createFromInt(5));
		h1 = com_Items.InsertItem(h,,"Task 3");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("6/25/2005",213)),COMVariant::createFromDate(str2Date("6/27/2005",213)),"E");
		com_Items.ItemBar(h1,"E",21/*exBarEffort*/,COMVariant::createFromInt(2));
		com_Items.ItemBar(h1,"E",3/*exBarCaption*/,"move/resize this");
		com_Items.ItemBar(h1,"E",4/*exBarHAlignCaption*/,COMVariant::createFromInt(18));
		com_Items.ItemBar(h1,"E",6/*exBarToolTip*/,"Click the bar and move or resize it. The histogram-graph will be updated.");
		com_Items.AddLink("Link1",h,"",h1,"E");
		com_Items.Link("Link1",6/*exLinkStartPos*/,COMVariant::createFromInt(0));
		com_Items.ExpandItem(h,true);
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,70);
}
*/
750
How can I align the text/caption on the scroll bar
public void init()
{
	;

	super();

	exg2antt1.ScrollPartCaption(1/*exHScroll*/,512/*exLowerBackPart*/,"left");
	exg2antt1.ScrollPartCaptionAlignment(1/*exHScroll*/,512/*exLowerBackPart*/,0/*LeftAlignment*/);
	exg2antt1.ScrollPartCaption(1/*exHScroll*/,128/*exUpperBackPart*/,"right");
	exg2antt1.ScrollPartCaptionAlignment(1/*exHScroll*/,128/*exUpperBackPart*/,2/*RightAlignment*/);
	exg2antt1.ColumnAutoResize(false);
	exg2antt1.Columns().Add(1);
	exg2antt1.Columns().Add(2);
	exg2antt1.Columns().Add(3);
	exg2antt1.Columns().Add(4);
}
749
How do I programmatically control the position of the horizontal scroll bar in the chart area, so I can specify a range of dates to scorll within
public void init()
{
	COM com_Chart,com_Items;
	anytype var_Chart,var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Columns().Add("Task");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,56);
		com_Chart.ScrollRange(0/*exStartDate*/,COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.ScrollRange(1/*exEndDate*/,COMVariant::createFromDate(str2Date("1/31/2001",213)));
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/12/2001",213)));
	exg2antt1.ScrollPartCaption(2/*exHChartScroll*/,512/*exLowerBackPart*/,exg2antt1.Chart().ScrollRange(0/*exStartDate*/));
	exg2antt1.ScrollPartCaptionAlignment(2/*exHChartScroll*/,512/*exLowerBackPart*/,0/*LeftAlignment*/);
	exg2antt1.ScrollPartCaption(2/*exHChartScroll*/,128/*exUpperBackPart*/,exg2antt1.Chart().ScrollRange(1/*exEndDate*/));
	exg2antt1.ScrollPartCaptionAlignment(2/*exHChartScroll*/,128/*exUpperBackPart*/,2/*RightAlignment*/);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/15/2001",213)),COMVariant::createFromDate(str2Date("1/18/2001",213)),"K1");
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/5/2001",213)),COMVariant::createFromDate(str2Date("1/11/2001",213)),"K1");
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,56);
}
*/
748
How can I programmatically control the position of the "splitter" between the item list on the left side and the gantt chart on the right
public void init()
{
	;

	super();

	/*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(true,196);
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(true,196);
}
*/
747
How can I add a milestone bar and some text in the chart area

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Milestone",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/2/2001",213)),,"<a1>text</a> outside");
		com_Items.ItemBar(h,,4/*exBarHAlignCaption*/,COMVariant::createFromInt(18));
}
746
How can I display or align the bar's caption or text outside of the bar

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.DefaultItemHeight(32);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<b>to do</b>");
		com_Items.ItemBar(h,"K1",4/*exBarHAlignCaption*/,COMVariant::createFromInt(18));
		com_Items.ItemBar(h,"K1",5/*exBarVAlignCaption*/,COMVariant::createFromInt(16));
}
745
How can I display or align the bar's caption or text outside of the bar

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"to do");
		com_Items.ItemBar(h,"K1",4/*exBarHAlignCaption*/,COMVariant::createFromInt(16));
}
744
How can I display or align the bar's caption or text outside of the bar

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"to do ");
		com_Items.ItemBar(h,"K1",4/*exBarHAlignCaption*/,COMVariant::createFromInt(18));
}
743
Is there any option to keep the working days being constant while user moves the bar
public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task:Split"); com_Bar = var_Bar;
	com_Bar.Shortcut("Task");
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		com_Items.ItemBar(h,"A",20/*exBarKeepWorkingCount*/,COMVariant::createFromBoolean(true));
	exg2antt1.EndUpdate();
}
742
Is there any option to count or to specify the working days

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("Task:Split"); com_Bar = var_Bar;
	com_Bar.Shortcut("S");
	/*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(0,48);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"S",COMVariant::createFromDate(str2Date("1/3/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		com_Items.ItemBar(h,"A",258/*exBarWorkingCount*/,COMVariant::createFromInt(4));
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,48);
}
*/
741
How do I select the next row/item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.SelectItem(com_Items.NextVisibleItem(com_Items.FocusItem()),true);
}
740
How do I get the selected bars or links

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowSelectObjects(1/*exSelectBarsOnly*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/6/2002",213)),COMVariant::createFromDate(str2Date("1/10/2002",213)),"B");
		com_Items.ItemBar(h,"A",257/*exBarSelected*/,COMVariant::createFromBoolean(true));
	exg2antt1.EndUpdate();
	print( "Bars" );
	print( exg2antt1.Items().SelectedObjects(1/*exSelectBarsOnly*/) );
	print( "Links" );
	print( exg2antt1.Items().SelectedObjects(2/*exSelectLinksOnly*/) );
}
739
How can I allow a single link being selected in the chart

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h1,h2;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowSelectObjects(18/*exSelectSingleObject | exSelectLinksOnly*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h1 = com_Items.AddItem("Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		h2 = com_Items.AddItem("Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/6/2002",213)),COMVariant::createFromDate(str2Date("1/10/2002",213)),"B");
		com_Items.AddLink("AB",h1,"A",h2,"B");
		com_Items.AddLink("BA",h2,"B",h1,"A");
		com_Items.Link("AB",257/*exLinkSelected*/,COMVariant::createFromBoolean(true));
	exg2antt1.EndUpdate();
}
738
How can I allow a single bar being selected in the chart

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowSelectObjects(17/*exSelectSingleObject | exSelectBarsOnly*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/6/2002",213)),COMVariant::createFromDate(str2Date("1/10/2002",213)),"B");
		com_Items.ItemBar(h,"A",257/*exBarSelected*/,COMVariant::createFromBoolean(true));
		com_Items.AddLink("AB",h,"A",h,"B");
	exg2antt1.EndUpdate();
}
737
How do I define the visual appearance of the bar by using your EBN/skin files

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","EBN"); com_Bar = var_Bar;
	com_Bar.Color(0x1000000);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"EBN",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
736
Is it possible to have an "empty box" pattern for the bars

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","Box"); com_Bar = var_Bar;
	com_Bar.Pattern(32/*exPatternBox*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Box",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
735
How do I enable resizing ( changing the height ) the items at runtime
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.ItemsAllowSizing(-1/*exResizeItem*/);
	exg2antt1.DrawGridLines(1/*exHLines*/);
	exg2antt1.ScrollBySingleLine(true);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem("Item 1");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemHeight(com_Items.AddItem("Item 2"),48);
	exg2antt1.Items().AddItem("Item 3");
}
734
How do I enable resizing all the items at runtime
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.ItemsAllowSizing(1/*exResizeAllItems*/);
	exg2antt1.DrawGridLines(1/*exHLines*/);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem("Item 1");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemHeight(com_Items.AddItem("Item 2"),48);
	exg2antt1.Items().AddItem("Item 3");
}
733
How can I use your EBN files in the histogram

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	;

	super();

	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramHeight(32);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.HistogramPattern(0/*exPatternEmpty*/);
			com_Bar.HistogramColor(0x1000000);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
}
732
How can I draw only the shape of the bars in the histogram

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramHeight(32);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.HistogramPattern(512/*exBezierCurve*/);
			com_Bar.HistogramColor(WinApi::RGB2int(255,0,0));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
}
731
How can I draw only the shape of the bars in the histogram

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramHeight(32);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.HistogramPattern(256);
			com_Bar.HistogramColor(WinApi::RGB2int(255,0,0));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
}
730
How can I change the color of bars in the histogram

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramHeight(32);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
			com_Bar.HistogramPattern(6/*exPatternBDiagonal*/);
			com_Bar.HistogramColor(WinApi::RGB2int(255,0,0));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
}
729
How can I show my bars in the histogram

public void init()
{
	COM com_Bar,com_Chart,com_Items;
	anytype var_Bar,var_Chart,var_Items;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.HistogramVisible(true);
		com_Chart.HistogramHeight(32);
		var_Bar = COM::createFromObject(com_Chart.Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.HistogramPattern(6/*exPatternBDiagonal*/);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)));
}
728
I'm trying to use the percentage display in my gantt's bars. Unfortunately, I don't see any percentage on the gantt chart

public void init()
{
	COM com_Bar,com_Bar1,com_Items;
	anytype var_Bar,var_Bar1,var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","BarName"); com_Bar = var_Bar;
		com_Bar.Color(WinApi::RGB2int(255,0,0));
		com_Bar.Pattern(6/*exPatternBDiagonal*/);
	var_Bar1 = COM::createFromObject(exg2antt1.Chart().Bars()).Add("BarName%Progress"); com_Bar1 = var_Bar1;
	com_Bar1.Shortcut("Percent");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Percent",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.4));
		com_Items.ItemBar(h,"K1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true));
}
727
How can I show the histogram
public void init()
{
	COM com_Level;
	anytype var_Level;
	;

	super();

	exg2antt1.Chart().LevelCount(2);
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level;
	com_Level.Label(COMVariant::createFromInt(0));
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level;
		com_Level.Label("<%mr%>");
		com_Level.Unit(16/*exMonth*/);
	exg2antt1.Chart().HistogramVisible(true);
}
726
How I can show Months in Time Unit panel into Roman numerals

public void init()
{
	COM com_Level;
	anytype var_Level;
	;

	super();

	exg2antt1.Chart().LevelCount(2);
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level;
	com_Level.Label(COMVariant::createFromInt(0));
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level;
		com_Level.Label("<%mr%>");
		com_Level.Unit(16/*exMonth*/);
}
725
Can I show a bar with a different vertical position

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Opaque");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
		h = com_Items.AddItem("Transparent and Opaque");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",18/*exBarOffset*/,"-3");
		com_Items.ItemBar(h,"K1",19/*exBarTransparent*/,COMVariant::createFromInt(80));
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2");
}
724
How can I show transparent and opaque bars in the same chart

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Task");
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Opaque");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
		h = com_Items.AddItem("Transparent and Opaque");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",18/*exBarOffset*/,"-3");
		com_Items.ItemBar(h,"K1",19/*exBarTransparent*/,COMVariant::createFromInt(80));
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/3/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"K2");
}
723
How can I draw bars using transparent colors

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	int h;
	;

	super();

	exg2antt1.Chart().ShowTransparentBars(60);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","TaskR"); com_Bar = var_Bar;
	com_Bar.Color(WinApi::RGB2int(255,0,0));
	/*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(0,48);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"A");
		com_Items.AddBar(h,"TaskR",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/7/2001",213)),"B");
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,48);
}
*/
722
How do I select bars and links in the chart area, by dragging
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h1,h2;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowSelectObjects(3/*exSelectObjects*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h1 = com_Items.AddItem("Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		h2 = com_Items.AddItem("Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/6/2002",213)),COMVariant::createFromDate(str2Date("1/10/2002",213)),"B");
		com_Items.AddLink("AB",h1,"A",h2,"B");
	exg2antt1.EndUpdate();
}
721
How do I remove, delete the objects like bars and links selected in the chart area
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h1,h2;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowSelectObjects(3/*exSelectObjects*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h1 = com_Items.AddItem("Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		com_Items.ItemBar(h1,"A",257/*exBarSelected*/,COMVariant::createFromBoolean(true));
		h2 = com_Items.AddItem("Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/6/2002",213)),COMVariant::createFromDate(str2Date("1/10/2002",213)),"B");
		com_Items.AddLink("AB",h1,"A",h2,"B");
	exg2antt1.EndUpdate();
	exg2antt1.Chart().RemoveSelection();
}
720
How do I select links and bars in the chart area

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h1,h2;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowSelectObjects(3/*exSelectObjects*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h1 = com_Items.AddItem("Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		com_Items.ItemBar(h1,"A",257/*exBarSelected*/,COMVariant::createFromBoolean(true));
		h2 = com_Items.AddItem("Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/6/2002",213)),COMVariant::createFromDate(str2Date("1/10/2002",213)),"B");
		com_Items.ItemBar(h2,"B",257/*exBarSelected*/,COMVariant::createFromBoolean(true));
		com_Items.AddLink("AB",h1,"A",h2,"B");
		com_Items.Link("AB",257/*exLinkSelected*/,COMVariant::createFromBoolean(true));
	exg2antt1.EndUpdate();
}
719
How do I select links in the chart area

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h1,h2;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowSelectObjects(2/*exSelectLinksOnly*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h1 = com_Items.AddItem("Task 1");
		com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		h2 = com_Items.AddItem("Task 2");
		com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/6/2002",213)),COMVariant::createFromDate(str2Date("1/10/2002",213)),"B");
		com_Items.AddLink("AB",h1,"A",h2,"B");
		com_Items.Link("AB",257/*exLinkSelected*/,COMVariant::createFromBoolean(true));
	exg2antt1.EndUpdate();
}
718
How do I select bars, or tasks in the chart area
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowSelectObjects(1/*exSelectBarsOnly*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2002",213)),COMVariant::createFromDate(str2Date("1/4/2002",213)),"A");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/6/2002",213)),COMVariant::createFromDate(str2Date("1/10/2002",213)),"B");
		com_Items.ItemBar(h,"A",257/*exBarSelected*/,COMVariant::createFromBoolean(true));
		com_Items.AddLink("AB",h,"A",h,"B");
	exg2antt1.EndUpdate();
}
717
Can I change the Task bar so it display a Progress or a Percent bar, but it is splitted when the task intersect a non working area

public void init()
{
	COM com_Bar,com_Bars,com_Chart,com_Items;
	anytype var_Bar,var_Bars,var_Chart,var_Items;
	int h;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.ShowTransparentBars(60);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bars = COM::createFromObject(com_Chart.Bars()); com_Bars = var_Bars;
		var_Bar = COM::createFromObject(com_Bars).Add("Task%Progress:Split"); com_Bar = var_Bar;
		com_Bar.Shortcut("Task");
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,48);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/16/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.15));
		com_Items.ItemBar(h,"K1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true));
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,48);
}
*/
716
Can I change the Task bar so it display a Progress or a Percent bar

public void init()
{
	COM com_Bar,com_Bars,com_Chart,com_Items;
	anytype var_Bar,var_Bars,var_Chart,var_Items;
	int h;
	;

	super();

	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		var_Bars = COM::createFromObject(com_Chart.Bars()); com_Bars = var_Bars;
		var_Bar = COM::createFromObject(com_Bars).Add("Task%Progress"); com_Bar = var_Bar;
		com_Bar.Shortcut("Task");
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/5/2001",213)),"K1");
		com_Items.ItemBar(h,"K1",12/*exBarPercent*/,COMVariant::createFromReal(0.15));
		com_Items.ItemBar(h,"K1",14/*exBarShowPercentCaption*/,COMVariant::createFromBoolean(true));
}
715
How can I remove the filter
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exg2antt1.ApplyFilter();
	exg2antt1.ClearFilter();
}
714
I use the ShowEmptyBars property, but I display seconds from 15 to 15, and the bars are not shown correctly. What can I do

public void init()
{
	COM com_Chart,com_Items,com_Level;
	anytype var_Chart,var_Items,var_Level;
	int h;
	;

	super();

	exg2antt1.SelBackColor(WinApi::RGB2int(255,0,0));
	exg2antt1.BeginUpdate();
	var_Chart = exg2antt1.Chart(); com_Chart = var_Chart;
		com_Chart.AllowCreateBar(1/*exCreateBarAuto*/);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
		com_Chart.LevelCount(2);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Label(COMVariant::createFromInt(1048576));
		var_Level = com_Chart.Level(1); com_Level = var_Level;
			com_Level.Label("<%ss%>");
			com_Level.Count(15);
		com_Chart.ShowEmptyBars(15);
		com_Chart.ShowEmptyBarsUnit(16777216/*exSecond*/);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(0,48);
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromUtcDateTime(str2Datetime("1/1/2002 0:00:15",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2002 0:00:15",213)),"A");
		com_Items.AddBar(h,"Task",COMVariant::createFromUtcDateTime(str2Datetime("1/1/2002 0:01:15",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2002 0:01:30",213)),"B");
		com_Items.AddLink("AB",h,"A",h,"B");
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,48);
}
*/
713
I need the bar works like in the MS Project, where task from 1/1/2001 to 1/1/2001 must display 1 day
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ShowEmptyBars(1);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/1/2001",213)),COMVariant::createFromDate(str2Date("1/1/2001",213)));
}
712
I have a bar that has the start and end date identical. Nothing is displayed. What can I do
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Chart().ShowEmptyBars(1);
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/2/2001",213)));
}
711
How can I display seconds and bars for 15 to 15

public void init()
{
	COM com_Bar,com_Items,com_Level;
	anytype var_Bar,var_Items,var_Level;
	int h;
	;

	super();

	exg2antt1.BeginUpdate();
	exg2antt1.Chart().AllowCreateBar(1/*exCreateBarAuto*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2002",213)));
	exg2antt1.Chart().LevelCount(2);
	exg2antt1.Chart().ShowEmptyBars(0);
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level;
	com_Level.Label(COMVariant::createFromInt(1048576));
	var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level;
		com_Level.Label("<%ss%>");
		com_Level.Count(15);
	/*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(0,48);
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","Task2"); com_Bar = var_Bar;
	com_Bar.Color(WinApi::RGB2int(255,0,0));
	exg2antt1.Columns().Add("Task");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Task 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromUtcDateTime(str2Datetime("1/1/2002 0:00:15",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2002 0:00:45",213)),"A");
		com_Items.AddBar(h,"Task2",COMVariant::createFromUtcDateTime(str2Datetime("1/1/2002 0:01:15",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2002 0:01:45",213)),"B");
		com_Items.AddLink("AB",h,"A",h,"B");
	exg2antt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exg2antt1.Chart().PaneWidth(0,48);
}
*/
710
How can I vertically display the column's caption, in the header

public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("A")).HeaderVertical(true);
	COM::createFromVariant(exg2antt1.Columns().Add("B")).HeaderVertical(true);
	COM::createFromVariant(exg2antt1.Columns().Add("H")).HeaderVertical(false);
}
709
How can I copy a predefined bar
public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","T2"); com_Bar = var_Bar;
	com_Bar.Color(WinApi::RGB2int(255,0,0));
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"T2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
708
How can I define my own custom bar, using my icons or pictures

public void init()
{
	COM com_Bar,com_Bars,com_Items;
	anytype var_Bar,var_Bars,var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exg2antt1.Images(COMVariant::createFromStr(var_s));
	var_Bars = exg2antt1.Chart().Bars(); com_Bars = var_Bars;
		com_Bars.AddShapeCorner(COMVariant::createFromInt(12345),COMVariant::createFromInt(1));
		com_Bars.AddShapeCorner(COMVariant::createFromInt(22345),COMVariant::createFromInt(2));
		var_Bar = com_Bars.Add("T2"); com_Bar = var_Bar;
			com_Bar.StartShape(22345/*0x5749 | exShapeIconCircleUp1*/);
			com_Bar.EndShape(12345/*0x3039 | exShapeIconVBar | exShapeIconRight*/);
			com_Bar.EndColor(WinApi::RGB2int(255,0,0));
			com_Bar.Pattern(2/*exPatternDot*/);
			com_Bar.Color(WinApi::RGB2int(255,0,255));
			com_Bar.Shape(19/*exShapeThinCenter*/);
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"T2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
707
How can I access a predefined bar
public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar;
	com_Bar.Color(WinApi::RGB2int(255,0,0));
}
706
How can I access a predefined bar
public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar;
	com_Bar.Color(WinApi::RGB2int(255,0,0));
}
705
How can I remove all predefined bars
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
704
How can I remove a predefined bar
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
703
How do I get the number of predefined bars
public void init()
{
	;

	super();

	exg2antt1.Columns().Add(exg2antt1.Chart().Bars().Count());
}
702
How can I change the shape of the task bar

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Copy("Task","T2"); com_Bar = var_Bar;
		com_Bar.EndShape(2/*exShapeIconDown1*/);
		com_Bar.EndColor(WinApi::RGB2int(255,0,0));
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"T2",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
		com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
701
How can I change the ending shape for all task bars

public void init()
{
	COM com_Bar,com_Items;
	anytype var_Bar,var_Items;
	;

	super();

	var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Item("Task"); com_Bar = var_Bar;
		com_Bar.EndShape(1/*exShapeIconUp1*/);
		com_Bar.EndColor(WinApi::RGB2int(255,0,0));
	exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}